#ifndef OSCARFILETRANSFARETASK_H_
#define OSCARFILETRANSFARETASK_H_

#include "Task.h"
#include "../FileTransfareCon.h"

namespace Impp
{

class OscarFileTransfareTask : public Task
{
private:
	Buddy* buddy;
	ActionId id;
	wxString fileName;
	word fileCount;
	dword totalSize;
	FileTransfareInfo info;
	FileTransfareCon* con;
	
public:
	OscarFileTransfareTask(Oscar* oscar, Buddy* buddy, qword cookie, ActionId id,const wxString & fileName, word fileCount, dword totalSize, const FileTransfareInfo & info);
	virtual ~OscarFileTransfareTask();
	
	virtual bool checkForTimeOut(const time_t & now);
	ActionId getActionId();
	qword getCookie();
	
private:
	virtual void timedOut();
};

}

#endif /*OSCARFILETRANSFARETASK_H_*/
